package cn.koala.key.fileupload.service.impl;


import cn.koala.key.api.FirstMaintainCardApi;
import cn.koala.key.common.feign.FeignUtils;
import cn.koala.key.fileupload.service.FileService;
import cn.seed.common.core.Result;
import org.springframework.stereotype.Service;

/**
 * @author liutao
 * @date 2021/2/2
 */
@Service
public class FileServiceImpl implements FileService {

	@Override
	public String getDownloadUrlByConfigurationId(String configurationId) {
		Result<String> result = FeignUtils.getHttpApi(FirstMaintainCardApi.class).getDownloadUrlByConfigurationId(configurationId);
		return result.getResult();
	}
}
